package com.bruce.service;

import com.bruce.Common.Result;
import com.bruce.bean.*;
import com.bruce.bean.Dto.CourseplanDto;
import com.bruce.bean.Dto.SelectCourseDto;
import com.bruce.utils.PageUtils;

import java.util.List;

/**
 * @author cc
 * @date 2021/7/26 9:53
 * @Description
 */

public interface CourseService {
    PageUtils<Course> FindALlCourse(PageUtils pageUtils);

     Courseplan FindCourse(int cid);

    Course findClassname(int cid);

    PageUtils<CourseplanDto> FindCourseByStudentid(String sid, int pageindex);

    List<Sc> FindSidAndCidByStudentid(String sid);

    Result InsertIntoCoursepla(Courseplan doAddcouForm);

    PageUtils<CourseplanDto> FindCourseByTeacheid(String tid, int parseInt);

    Result UpdataCourse(Courseplan doAddcouForm);

    PageUtils<SelectCourseDto> FindSelecdCourse(String tid, String pageIndex);

    PageUtils<Student> FindStudentbyTeacheIdAndCourseId(String tid, String cid, String pageIndex);

}
